home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / graphics / xipaintmodule / hhsxipaintloader.rx next >
Text File  |  1999-04-19  |  884b  |  23 lines

  1. /* ARexx script: Needed only to access hhsxipaintmod.xio from old versions */
  2. /* of XiPaint (3.0 and 3.1). To use hhsxipaintmod.xio this script should */
  3. /* be located in the XiPaint/Makro or XiPaint/makros subdirectory. */
  4. /* The loader module should be located in the XiPaint main directory. */
  5.  
  6. /* For newer XiPaint versions (3.2 and higher) you don't need this */
  7. /* script any more; instead just copy the hhsxipaintmod.xio module */
  8. /* into the XiPaint/Modules subdirectory */
  9.  
  10. address command
  11.  
  12. if EXISTS('/modules/hhsxipaintmod.xio')=1 then xiopath='/modules/'
  13. else if EXISTS('modules/hhsxipaintmod.xio')=1 then xiopath='modules/'
  14. else if EXISTS('hhsxipaintmod.xio')=1 then xiopath=''
  15. else if EXISTS('/hhsxipaintmod.xio')=1 then xiopath='/'
  16. else do
  17.         say "No hhsxipaintmod.xio found!"
  18.         exit
  19.      end
  20.  
  21. xiopath'hhsxipaintmod.xio load request "Select file to load:"'
  22.  
  23.